package cn.arikeky.service;

import cn.arikeky.domain.MovieTicket;
import cn.arikeky.dto.BuyDto;
import cn.arikeky.result.JsonResult;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author director
 * @since 2022-11-23
 */
public interface IMovieTicketService extends IService<MovieTicket> {

    JsonResult buy(Long movieId, Integer count);


    JsonResult give(Long movieId, Integer count, Long userId);
}
